Web Calendar Server Control Properties

The WebCalendar server control properties are described in this table.

Note: The following table only lists Ektron-specific properties. It does not describe native .NET properties such as font, height, width and border style. For documentation of these properties, see Visual Studio help.

Property

Value

Data Type

AllowEventEditing

Determines whether events can be added and edited to the calendar. Default is True. See Also: Changing System Calendar Permissions

Boolean

DefaultDisplayType

Specify the Calendar view type. The default is Month, which means that the month view appears on the Web page.

The site visitor can change the view. See Also: Selecting the Day, Week or Month View.

String

DisplayTemplatePath

Specify the path to the code that controls how events are displayed. Default is blank. See Also: Customizing the Web Calendar Tooltip

String

DisplayType

Determines which time period choices are presented on the calendar. Choices are All, Day, Month, Week.

Default is All.

See Also: Selecting the Day, Week or Month View

String

 

DoInitFill

By default, Fill occurs during the Page_Init event. Set to false if you want to postpone the fill-action until later. In this case, FIll is automatically called during the Page Render event.

You might do this if you need to set or change a property on the control in codebehind and have it render with your changes shown.

Boolean

DynamicParameter

To make this calendar dynamic, select calendar_id. When you do, this server control uses the calendar passed as a URL parameter. To exclude this function, choose None- Use Default.

Only Calendars with sourcetype=SystemCalendar may be used in the querystring for this value.

For example, where DyanamicParameter=”calendar_id”, the URL may read http://mysite.com/calendar.aspx?calendar_id=”55”. In this case, calendar 55 must be of the SystemCalendar type.

String

Hide

Used to hide the output of a calendar in design time and run time.

True = Hide calendar

False = Display calendar (Default setting)

Boolean

Language

Set a language for viewing a calendar. This property shows results in design-time (in Visual Studio) and at run-time (in a browser).

Integer

SuppressWrapperTags

Suppresses the output of the span/div tags around the control. The default is False.

True - Suppress wrap tags.

False - Allow wrap tags.

Boolean

WrapTag

Allows a developer to specify a server control’s tag.

The default is Span.

Span - The <span> tag is used to designate an inline portion of an HTML document as a span element.

Div - The <div> tag is used when you want to apply attributes to a block of code.

Custom - Allows you to use a custom tag.

String

 

Previous TopicNext Topic|